home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / falcon / programm.ing / asm56.zoo / lex.c < prev    next >
C/C++ Source or Header  |  1992-11-14  |  695b  |  42 lines

  1. /*******************************************************
  2.  *
  3.  *  a56 - a DSP56001 assembler
  4.  *
  5.  *  Written by Quinn C. Jensen
  6.  *  July 1990
  7.  *  jensenq@npd.novell.com (or jensenq@qcj.icon.com)
  8.  *
  9.  *******************************************************\
  10.  
  11. /*
  12.  *  lex.c - lexical analyzer envelope.  lexyy.c, included below,
  13.  *  is the LEX-generated code.
  14.  *
  15.  */
  16.  
  17. #include "a56.h"
  18. #include "gram.h"
  19.  
  20. extern YYSTYPE yyval;
  21.  
  22. int ldebug;
  23.  
  24. #define LDEBUG
  25. #ifdef LDEBUG
  26. #define RET(val) \
  27.     if(ldebug) {\
  28.                printf("%s ", tok_print(val));\
  29.         fflush(stdout);\
  30.     }\
  31.     return(val)
  32. #else
  33. #define RET(val) return(val)
  34. #endif
  35.  
  36. double atof();
  37.  
  38. #include "lexyy.c"
  39.  
  40.  
  41.  
  42.